QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Memory Device Structure

You specify a memory device using a memory device structure, defined by the TQADeviceMemory data type.

typedef struct TQADeviceMemory {
    long                                rowBytes;
    TQAImagePixelType                   pixelType;
    long                                width;
    long                                height;
    void                                *baseAddr;
} TQADeviceMemory;
rowBytes
The distance, in bytes, from the beginning of one row of the memory device to the beginning of the next row of the memory device.
pixelType
A value that specifies the size and organization of the memory associated with a pixel in the pixmap. See "Pixel Types" for information on the values you can assign to this field.
width
The width, in pixels, of the memory device.
height
The height, in pixels, of the memory device.
baseAddr
A pointer to the beginning of the memory device.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |